<?php

namespace common\models\datas;

use Yii;

/**
 * This is the model class for table "{{%customer_account}}".
 *
 * @property integer $id
 * @property integer $customer_id
 * @property integer $intergral
 * @property integer $intergral_balance
 */
class CustomerAccount extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%customer_account}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['customer_id', 'intergral', 'intergral_balance', 'intergral_increase'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', '�Զ����'),
            'customer_id' => Yii::t('app', '��Ա���'),
            'intergral' => Yii::t('app', '���'),
            'intergral_increase' => Yii::t('app', '���ͳ��'),
            'intergral_balance' => Yii::t('app', '������'),
        ];
    }
}
